class EventPic < ActiveRecord::Base
  belongs_to :event
  
  has_attachment :processor => :rmagick,
                 :content_type => :image,
                 :storage => :s3,
                 :max_size => 500.kilobytes,
                 :resize_to => "240x180>",
                 :thumbnails => {:thumb => "120x80>"}
                                 
  validates_as_attachment
end
